_data=_this select 0;


if (typeName _data=="STRING") exitwith {_data};

if (typeName _data=="ARRAY") then
{
  _n = (count _data)-1;
  if (_n>=0) then
  {
    _pickup=_data select (round(random _n));
    _data=_pickup;
  }
  else {_date="";};
};

if (isnil "_data") then {_data="";};

_data
